.major-detail-container {
  width: 100%;
  max-width: 1300px;
  margin: 30px auto 0 auto;
  padding: 0 0 200px 0;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  transition-duration: 300ms;
  transition-property: width, max-width;

  .major-detail__left {
    width: 100%;
    transition-duration: 300ms;
    transition-property: width;

    .major-name {
      padding: 10px 0;
      font-size: 42px;
      font-weight: bold;
      color: #333;
      transition-duration: 300ms;
      transition-property: font-size, margin-top;

      .major-simple-info {
        user-select: none;
      }
    }

    .major-desc {
      padding: 20px 0 10px 0;
      font-size: 20px;
      color: #555;
      transition-duration: 300ms;
      transition-property: font-size, padding;
    }

    .major-info {
      margin-bottom: 60px;
      transition-property: margin-bottom;
      transition-duration: 300ms;

      .detail-title {
        padding: 15px 0;
        display: flex;
        font-size: 20px;
        font-weight: bold;
        color: #333;

        .v-icon {
          font-size: 21px;
        }

        span {
          margin-left: 10px;
        }
      }

      ::v-deep .detail-content {
        p {
          color: #444;
          font-size: 15px;
          white-space: pre-line;
          transition-property: font-size;
          transition-duration: 300ms;
        }

        .statistical-data {
          width: 100%;

          .v-chip {
            width: 100%;
            height: auto;
            padding: 0;

            .v-chip__content {
              width: 100%;

              div {
                width: 100%;

                .gender-ratio {

                  .male, .female {
                    width: fit-content;
                    font-weight: bold;
                    color: #555;
                  }

                  .male {
                    //color: rgba(30, 136, 229, .9);
                  }

                  .female {
                    //color: rgb(238, 153, 0);
                  }
                }
              }
            }

            &:hover {
              &:before {
                background-color: unset;
              }
            }
          }
        }

        .recently-average-wage {
          width: 100%;
          height: 400px;

          .average-wage-chart {
            overflow: visible !important;
          }
        }

        .distribution-charts {
          width: 100%;
          display: flex;
          flex-direction: row;
          transition-duration: 300ms;
          transition-property: height;

          .chart-container {
            width: 33.3%;

            .e-charts {
              width: 100%;
              height: 300px;

              .chart {
                overflow: visible !important;
              }
            }
          }
        }
      }
    }
  }

  .major-detail__right {
    width: fit-content;
    min-width: 150px;
    height: inherit;
    flex-shrink: 0;
    margin: 0 0 0 150px;
    overflow: hidden;
    transition-duration: 300ms;
    transition-property: margin, width, min-width;
  }

  @media screen and (min-width: 1200px) and (max-width: 1500px) {
    max-width: 1000px;

    .major-detail__left {
      width: 750px;

      .major-info {
        .detail-content {
          .distribution-charts {
            height: 270px;
          }
        }
      }
    }

    .major-detail__right {
      margin: 0 0 0 100px;
    }
  }

  @media screen and (min-width: 900px) and (max-width: 1200px) {
    max-width: 800px;

    ::v-deep .major-detail__left {
      width: 600px;

      .major-desc {
        font-size: 18px;
      }

      .major-info {
        margin-bottom: 40px;

        .detail-content {
          p {
            font-size: 14px;
          }

          .distribution-charts {
            .chart-container {
              width: 33.3%;

              .e-charts {
                width: 100%;
                height: 270px;
              }
            }
          }
        }
      }
    }

    .major-detail__right {
      margin: 0 0 0 70px;
    }
  }

  @media screen and (min-width: 700px) and (max-width: 900px) {
    max-width: 85vw;

    ::v-deep .major-detail__left {
      width: calc(100% - 180px);

      .major-name {
        font-size: 30px;
      }

      .major-desc {
        font-size: 16px;
      }

      .major-info {
        margin-bottom: 40px;

        .detail-title {
          font-size: 18px;

          .v-icon {
            font-size: inherit;
          }
        }

        .detail-content {
          p {
            font-size: 14px;
          }

          .distribution-charts {
            flex-wrap: wrap;

            .chart-container {
              width: 100%;

              .e-charts {
                width: 100%;
                height: 270px;
              }
            }
          }
        }
      }
    }

    .major-detail__right {
      margin: 0 0 0 30px;
    }
  }

  @media screen and (max-width: 700px) {
    width: 100%;
    min-width: 459px;
    padding: 0 40px;

    ::v-deep .major-detail__left {
      width: 100%;

      .major-name {
        font-size: 30px;
      }

      .major-desc {
        font-size: 16px;
      }

      .major-info {
        margin-bottom: 40px;

        .detail-title {
          font-size: 18px;

          .v-icon {
            font-size: inherit;
          }
        }

        .detail-content {
          p {
            font-size: 14px;
          }

          .distribution-charts {
            flex-wrap: wrap;

            .chart-container {
              width: 100%;

              .e-charts {
                width: 100%;
                height: 270px;
              }
            }
          }
        }
      }
    }

    .major-detail__right {
      display: none;
    }
  }
}